<?php

class Mainmenu extends Controller{
	 
	   function menu(){
	          parent::Controller();
	   }
	     
	   function main(){
	          $this->load->library('Mainmenu');
	          $menu = new MyMenu;
	          $data['menu'] = $menu->show_menu();
	          $this->load->view('Menu/TopMenuV',$data);
	   }
	     
	   function input(){
	          $this->load->library('Mainmenu');  
	          $menu = new MyMenu;
	          $data['menu'] = $menu->show_menu(); 
	          $this->load->view('Menu/TopMenuV',$data);  
	   }
	}
?>
